package com.cho3;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.blankj.utilcode.util.ToastUtils;

public class CommunicationActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_communication);
        Intent intent = getIntent();
        if (intent != null) {
            String params = intent.getStringExtra("params");
            if (params != null) {
                ToastUtils.showShort("从ReactNative传过来的数据是:" + params);
            }
        }
    }
}
